<?php

namespace App\Entities;

use Illuminate\Database\Eloquent\Model;

class ClassMember extends Model
{
    //
    protected $table = 's_classes_member';

    protected $fillable = ['class_id', 'member_id', 'member_name'];

    public function classentity () {
        $this->belongsTo('App\Entities\ClassEntity','class_id');
    }
}
